<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        //对象传播操作符
        var person = {

            name: "赵书正",
            address: "郑州",
            link: "https://blog.csdn.net/rngigskt?spm=1001.2101.3001.5343",
            phone: "0123456789",
            go() {
                console.log("相互学习，共同进步。");
            }
        };
        //解构出来
        var { name, address, ...person2 } = person;

        console.log(name);
        console.log(address);
        console.log(person2);
    </script>
</body>

</html>